 #ifndef PINGPONG_H
 #define PINGPONG_H
 
//constant
enum {
  AM_PINGPONGMSG = 7,
  TIMER_ONESHOT_MILLI = 500,
  TIMER_PERIODIC_MILLI = 5000
};

 
typedef nx_struct pingpongMsg {
  nx_uint16_t nodeid;
  nx_uint16_t counter;
  nx_uint16_t time;
} pingpongMsg;
 #endif
